package diertian;

import java.util.Scanner;

public class lianxi6 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的年级：例如大一：1");
        int grade;
        grade=scanner.nextInt();
        switch (grade){
            case 1:System.out.println("大一啦！好好学");break;
            case 2:System.out.println("大二啦！好好学习java");break;
            case 3:System.out.println("大三啦！该思考未来啦");break;
            case 4:System.out.println("大四啦！路在脚下");break;
            default: System.out.println("你想干啥");
        }
    }
}
